bin/remote-refs: Add option to print revisions
authorDan Nicholson <dbn@endlessos.org>
Sun, 29 Jan 2023 16:37:03 +0000 (09:37 -0700)
committerDan Nicholson <dbn@endlessos.org>
Wed, 8 Feb 2023 05:59:30 +0000 (22:59 -0700)
commit008c5a95404cb670590394227e41a03ce1d1c437
tree01389dff33cbffa5add1717bd2cb15925ea90057
parent90dd45fb27594be7fec346987506d08f22a2a37a
bin/remote-refs: Add option to print revisions

The only other way to get the remote ref revision from the CLI is to
scrape the output of `ostree remote summary` or pull the commit. The
revision is already there in the summary's ref map, so might as well add
an option to show it.
Makefile-tests.am
bash/ostree
man/ostree-remote.xml
src/ostree/ot-remote-builtin-refs.c
tests/test-remote-refs.sh [new file with mode: 0755]